<?php
namespace app\admin\model;
use think\Model;
use think\Session;

class Department extends Model
{
    // 开启自动写入时间戳字段
    protected $autoWriteTimestamp = 'int';
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';
    protected $pk = 'itemid';
}
?>